package com.ruoyi.user.mapper;

import com.ruoyi.user.domain.AppUserRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface AppUserRoleMapper {
    int insertAppUserRole(AppUserRole appUserRole);
    int deleteAppUserRole(Integer appUserId);

    int updateAppUserRole(AppUserRole appUserRole);

    Set<String> selectAppUserRole(AppUserRole appUserRole);

    List<Integer> selectRoleId(Integer appUserId);
}
